package com.ssyt.ec.sys.service;

import java.util.List;

import com.ssyt.ec.common.util.DBUtil;
import com.ssyt.ec.sys.entity.ClassManagerEntity;


public class ClassManagerService {
	public List<ClassManagerEntity> listClassManager(){
		String sql = "SELECT cl.id,cl.name,co.name as 'course__name',cl.operate_time,cl.state,"
						+ "cl.memo FROM sys_class cl,sys_course co WHERE co.id=cl.course_id";
		return DBUtil.executeQuery(ClassManagerEntity.class, sql);
	}

	public List<ClassManagerEntity> addClass() {
		return null;
	}
}
